package com.asa.imgs.jwt;

import javax.swing.JFrame;

public class GraphicsDemo extends JFrame {
	public GraphicsDemo(int[][] imageR, int[][] imageG, int[][] imageB,int image_width,int image_heigh) {
//	 this.getContentPane().add(new ShapesPanel());
//	 this.setTile("基本绘图方法演示");
		
		System.out.println(imageR.length);
		
		
		this.getContentPane().add(new ShapesPanel(imageR, imageG, imageB, image_width, image_heigh));
		setSize(image_width, image_heigh);
//		setSize(300, 300);
		setVisible(true);
		setDefaultCloseOperation(EXIT_ON_CLOSE);
		setResizable(false);//关闭可拖动
	}
}